Duplicating network traffic through transparent VLAN flooding

ABSTRACT

Provided are methods, non-transitory computer-readable medium, and network devices for duplicating network traffic through transparent VLAN flooding. In some implementations, a network device comprises a plurality of ports. The plurality of ports may include a first port configured as a receiving port for a VLAN configured for the network device. The plurality of ports may further include a set of ports configured as I/O ports of the VLAN. MAC learning may be disabled for the receiving port. In some implementations, the network device is configured to determine, based on contents of a packet received at the receiving port, that the packet is to be sent to one or more monitoring devices. The network device may further be configure to, upon receiving the packet at the receiving port of the VLAN, cause a copy of the packet to be sent to each of one or more I/O ports of the VLAN.

CROSS-REFERENCES TO RELATED APPLICATIONS

This application is a Continuation application of U.S. patent application Ser. No. 14/030,782, filed Sep. 9, 2013, and titled “Duplicating Network Traffic through Transparent VLAN Flooding,” which is a Continuation application that claims the benefit of the co-pending, commonly-owned U.S. patent application Ser. No. 11/827,524, filed on Jul. 11, 2007, now U.S. Pat. No. 8,615,008, issued Dec. 13, 2013, and titled “Duplicating Network Traffic through Transparent VLAN Flooding”, and hereby incorporated by reference in its entirety.

BACKGROUND

There is a growing need, in the field of computer networks, to be able to monitor network traffic. A combination of government regulations, quality assurance responsibilities, and competitive necessities has resulted in an industry-wide need to be able to monitor traffic passing through a network. The level or type of monitoring may vary, depending upon the particular task being performed. For example, it might be desirable to monitor all traffic between a specific source and a specific destination, or to gather information about all traffic passing across the network that involves a specific protocol.

Unfortunately, the tools available to network administrators to perform this kind of monitoring are extremely limited. Many layer 2 devices offer a limited “port mirroring” option, which can create a single copy of traffic coming in on a single port, and output that copy to a single destination port. Port mirroring, used in this fashion, does not offer the ability to make multiple copies, e.g., for multiple different monitoring roles, nor does it allow for sending the copied traffic to different destinations.

Alternatively, a physical “tap” can be inserted in-line, and a portion of the signal can be physically diverted. This approach raises issues involving signal degradation, however; moreover, the equipment used in this approach can be extremely expensive.

Some vendors supply a limited software solution, which creates a set number of copies of traffic. However, software solutions are not scalable, particularly at the speed involved in modem network connections. Also, these approaches only create a limited number of copies of the traffic.

BRIEF SUMMARY

An approach to duplicating network traffic is described. In one approach, a method of creating multiple copies of network traffic is detailed. The method involves receiving network traffic, producing a duplicate copy of the network traffic, and forwarding the duplicate copy to a monitoring port. The monitoring port forwards copies to a number of ports.

Another approach is provided, in which a network device is described. The network device includes a number of networking ports for receiving and transmitting data, and a switching fabric for routing network traffic between networking ports. The networking ports also include an input port, which is used to receive network traffic and is configured to create a duplicate copy of the network traffic. The networking ports also include a monitoring input port, coupled to the input port, which receives a duplicate copy, and is configured to create additional copies and forward them to a number of monitoring ports.

Another described approach details a computer usable medium having computer readable program code embodied therein for causing a computer system to execute a method of monitoring network traffic on a network device. This approach includes receiving the network traffic into an input port. The network traffic is duplicated, producing duplicate traffic. This duplicate traffic is diverted to a monitoring virtual local area network (VLAN), where it is received by a monitoring input port, which forwards a copy of this duplicate traffic to each available port in the VLAN.

BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention:

FIG. 1 is a block diagram of an exemplary computer system upon which embodiments of the present invention may be implemented.

FIG. 2 is a block diagram of an exemplary network device, in accordance with one embodiment.

FIG. 3A is an exemplary switch, in accordance with one embodiment.

FIG. 3B is an exemplary VLAN, in accordance with one embodiment.

FIG. 4 is a flowchart of a method of duplicating network traffic, in accordance with one embodiment.

FIG. 5A is a depiction of the flow of network traffic through an exemplary network device, in accordance with one embodiment.

FIG. 5B is a depiction of the flow of network traffic through an exemplary network device, in accordance with one embodiment.

FIG. 5C is a depiction of the flow of network traffic through an exemplary network device, in accordance with one embodiment.

FIG. 6 is a flowchart of a method of monitoring traffic on a network device, in accordance with one embodiment.

FIG. 7 is a flowchart of a method of creating copies of network traffic, in accordance with one embodiment.

FIG. 8 is a flowchart of a method of transparent VLAN flooding, in accordance with one embodiment.

FIG. 9A is a depiction of the flow of network traffic through an exemplary network device, in accordance with one embodiment.

FIG. 9B is a flowchart of a method of utilizing transparent VLAN flooding in conjunction with port mirroring, in accordance with one embodiment.

FIG. 10A is a depiction of the flow of network traffic through an exemplary network device, in accordance with one embodiment.

FIG. 10B is a flowchart of a method of utilizing transparent VLAN flooding in conjunction with an in-line tap, in accordance with one embodiment.

FIG. 11A is a depiction of the flow of network traffic through an exemplary network device, in accordance with one embodiment.

FIG. 11B is a flowchart of a method of utilizing transparent VLAN flooding in conjunction with a network traffic source, in accordance with one embodiment.

DETAILED DESCRIPTION OF THE INVENTION

Reference will now be made in detail to several embodiments. While the subject matter will be described in conjunction with the alternative embodiments, it will be understood that they are not intended to limit the claimed subject matter to these embodiments. On the contrary, the claimed subject matter is intended to cover alternatives, modifications, and equivalents, which may be included within the spirit and scope of the claimed subject matter as defined by the appended claims.

Furthermore, in the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the claimed subject matter. However, it will be recognized by one skilled in the art that embodiments may be practiced without these specific details or with equivalents thereof. In other instances, well-known methods, procedures, components, and circuits have not been described in detail as not to unnecessarily obscure aspects and features of the subject matter.

Portions of the detailed description that follow are presented and discussed in terms of a method. Although steps and sequencing thereof are disclosed in a figure herein (e.g., FIG. 4) describing the operations of this method, such steps and sequencing are exemplary. Embodiments are well suited to performing various other steps or variations of the steps recited in the flowchart of the figure herein, and in a sequence other than that depicted and described herein.

Some portions of the detailed description are presented in terms of procedures, steps, logic blocks, processing, and other symbolic representations of operations on data bits that can be performed in computer memory. These descriptions and representations are the means used by those skilled in the data processing arts to most effectively convey the substance of their work to others skilled in the art. A procedure, computer-executed step, logic block, process, etc., is here, and generally, conceived to be a self-consistent sequence of steps or instructions leading to a desired result. The steps are those requiring physical manipulations of physical quantities. Usually, though not necessarily, these quantities take the form of electrical or magnetic signals capable of being stored, transferred, combined, compared, and otherwise manipulated in a computer system. It has proven convenient at times, principally for reasons of common usage, to refer to these signals as bits, values, elements, symbols, characters, terms, numbers, or the like.

It should be borne in mind, however, that all of these and similar terms are to be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. Unless specifically stated otherwise as apparent from the following discussions, it is appreciated that throughout, discussions utilizing terms such as “accessing,” “writing,” “including,” “storing,” “transmitting,” “traversing,” “associating,” “identifying” or the like, refer to the action and processes of a computer system, or similar electronic computing device, that manipulates and transforms data represented as physical (electronic) quantities within the computer system's registers and memories into other data similarly represented as physical quantities within the computer system memories or registers or other such information storage, transmission or display devices.

Computing devices, such as computing system 112, typically include at least some form of computer readable media. Computer readable media can be any available media that can be accessed by a computing device. By way of example, and not limitation, computer readable medium may comprise computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules, or other data. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile discs (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computing device. Communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signals such as a carrier wave or other transport mechanism and includes any information delivery media. The term “modulated data signal” means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, RF, infrared, and other wireless media. Combinations of any of the above should also be included within the scope of computer readable media.

Some embodiments may be described in the general context of computer executable instructions, such as program modules, executed by one or more computers or other devices. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. Typically the functionality of the program modules may be combined or distributed as desired in various embodiments.

I. Network Traffic Duplication Via Transparent VLAN Flooding

In the following embodiments, an approach is described for creating an arbitrary number of copies of network traffic, and dispatching them to arbitrary destinations. This approach takes network traffic from any given network port, transparently duplicates it, and forwards the copies to an arbitrary number of network ports. One embodiment involves using port mirroring to create a copy of the selected network traffic. This copy is sent to an input port for a VLAN. By disabling MAC learning for the input port, the traffic is duplicated across the entire VLAN, by means of VLAN flooding. By adjusting VLAN membership, different numbers of copies of the traffic can be created, and dispatched to different ports in the switch. Moreover, different types of traffic can be subjected to different types of monitoring, through the application of network traffic management rules.

In another described embodiment, a layer 2 device, such as a switch, can be configured to enable network traffic monitoring for network traffic passing through the device. In this embodiment, the type of traffic to be monitored, as well as the number of copies to be made and the destinations for those copies, can be adjusted. In such embodiments, if an additional monitoring device needs to be added to the network, it is simply connected to the layer 2 device, and the appropriate port is added to the monitoring VLAN. Further functionality of the layer 2 device may be customized through the use of other networking rules, to provide a scalable, flexible, and robust solution to the need for network monitoring.

II. Exemplary Networking Device

With reference now to FIG. 2, a block diagram of an exemplary network device 200 is depicted, in accordance with one embodiment. While network device 200 is shown as incorporating specific, enumerated features, it is understood that embodiments are well suited to applications involving additional, fewer, or different features or arrangements. Moreover, while network device 200, as shown, is a layer 2 device, it is understood that embodiments may be practiced on many different types of devices, e.g., a layer 2/3 device.

As shown, network device 200 includes processor 220, storage 230, switching fabric 240, and a number of communications ports, e.g., ports 251, 252, 253, 261, 262, 263, 271, 272, 273, and 274. Processor 220 executes instructions for controlling network device 200, and for managing traffic passing through network device 200. An operating system 225 is shown as executing on processor 220; in some embodiments, operating system 225 supplies the programmatic interface to network device 200.

Network device 200 is also shown as including storage 230. In different embodiments, different types of storage may be utilized, as well as differing amounts of storage. For example, in some embodiments, storage 230 may consist of flash memory, magnetic storage media, or any other appropriate storage type, or combinations thereof. In some embodiments, storage 230 is used to store operating system 225, which is loaded into processor 220 when network device 200 is initialized. Additionally, as shown, storage 230 contains configuration 235. Configuration 235 provides instructions for operating system 225 on how network device 200 is to be operated.

Network device 200 also includes switching fabric 240. In the depicted embodiment, switching fabric 240 is the hardware, software, or combination thereof that passes traffic between a source and a destination. Switching fabric 240, as shown, includes the packet processors, application-specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), and/or controlling programming used to analyze network traffic, apply appropriate networking rules, and route data between ports in network device 200. In many of the embodiments described herein, it is understood that configuring or instructing a port to perform an action involves configuring or instructing that portion of the switching fabric that controls the indicated port to perform that action. For example, if port 251 is configured to implement port mirroring, the packet processor in switching fabric 240 responsible for controlling port 251 is so configured.

Network device 200 is shown as incorporating a number of communications ports. In the depicted device, these communications ports can be arbitrarily assigned to different virtual local area networks (VLANs), according to the instructions contained in configuration 235. Several exemplary VLANs are depicted, namely VLANs 250, 260, and 270. VLAN membership is configurable, and a single physical port may belong to multiple virtual LANs. Network device 200 receives network traffic from attached devices, e.g., computers, or other networking devices, and passes it to its intended destination by means of these communications ports.

III. Port Mirroring

One feature common to many layer 2 devices is port mirroring. Port mirroring allows traffic being received on one port to be duplicated, and the copy forwarded to a designated second port. Meanwhile, the original traffic is passed on to its intended destination, without further interference. While port mirroring, by itself, is an insufficient solution to the need for network traffic monitoring, embodiments described below make use of port mirroring in order to generate an initial copy of network traffic.

With reference to FIG. 3A, an exemplary switch 300 is depicted, showing the functionality of port mirroring. While exemplary switch 300 is shown as containing specific, enumerated features, it is understood that embodiments are well suited to applications involving fewer, additional, or different features and arrangements.

Exemplary switch 300 is shown as receiving some network traffic 301 via port 310. In the depicted embodiment, port 310 is configured to utilize port mirroring, by passing the original traffic through to one port, e.g., port 320, and creating a duplicate of the traffic and passing it to a second port, e.g., port 330. As depicted, network traffic 301 is passed through port 310 to port 320, for delivery to its intended destination. Meanwhile, port 310 creates duplicate network traffic 311, and passes duplicate network traffic 311 to port 330, e.g., for monitoring purposes.

IV. MAC Learning and VLAN Flooding

Media Access Control (MAC) address learning, or MAC learning, is a means by which a receiving port in a layer 2 device “learns” how to reach various destinations. In one approach, the source MAC address of every packet received by the port is stored, such that the port will recognize future packets intended for a known recipient, and forward those packets to the appropriate connection.

When a packet with an unknown destination is received, the port will forward that packet to all available connections, thereby “flooding” the network with copies of that packet. This behavior can be modified, e.g., by limiting flooding to ports in the same VLAN as the receiving port. The combination of MAC learning and VLAN flooding helps to minimize traffic on the network, by only utilizing flooding where the destination of a particular packets is not known.

With reference to FIG. 3B, an exemplary VLAN 350 is depicted, in accordance with one embodiment. In the depicted embodiment, MAC learning has been implemented for VLAN 350, such that traffic with known destinations will be passed through VLAN 350 efficiently, while traffic with unknown destinations will be flooded across all available ports.

VLAN 350 is shown as including ports 360, 370, 380, and 390. In the depicted embodiment, port 360 is a receiving port, and receives network traffic 351 and network traffic 353. When determining how to route received network traffic, receiving port 360 compares the destination of the network traffic with MAC address table 362, to determine if the intended destination is known. In the depicted embodiment, network traffic 351 corresponds to a known destination in MAC address table 362, and is routed to port 370. Network traffic 353, however, does not have a known destination. Accordingly, port 360 floods VLAN 350 with copies of network traffic 353; copies 373, 383, and 393 are sent to every other available port in VLAN 350.

V. Method of Duplicating Network Traffic

With reference now to FIG. 4, a flowchart 400 of a method of duplicating network traffic is depicted, in accordance with one embodiment. Although specific steps are disclosed in flowchart 400, such steps are exemplary. That is, embodiments of the present invention are well suited to performing various other (additional) steps or variations of the steps recited in flowchart 400. It is appreciated that the steps in flowchart 400 may be performed in an order different than presented, and that not all of the steps in flowchart 400 may be performed.

With reference to step 410, a network device is configured to enable port mirroring. In some embodiments, port mirroring is used to create a duplicate copy of network traffic, without impacting the original traffic. This duplicate traffic can be forwarded to a receiving port, while the original is passed through the network device to its intended destination. Here, the duplicate traffic is forwarded to another port in the network device. In this embodiment, this port is part of a defined “monitoring” VLAN; the other ports in the monitoring VLAN are used to communicate with various monitoring devices. If additional monitoring devices are desired, other ports may be added to the monitoring VLAN, and those devices connected to the new ports.

With reference to step 420, the receiving port is configured to disable MAC learning. By disabling MAC learning for the receiving port, VLAN traffic received at that port will be flooded to every other port in the same VLAN.

With reference now to step 430, a copy of the network traffic is received at every port in the monitoring VLAN. In this way, this embodiment allows for an arbitrary number of copies of network traffic to be generated, and dispatched to arbitrary ports in a network device. The described approach does not require additional expense of hardware to be placed in-line with the network, and provides a scalable approach to the problems of network monitoring.

VI. Monitoring Traffic in a Network Device

With reference now to FIGS. 5A through 5C, the flow of network traffic through a network device 500 is depicted, in accordance with one embodiment. While network device 500 is shown as incorporating specific, enumerated features, it is understood that embodiments are well suited to applications involving additional, fewer, or different features or arrangements. Moreover, while network device 500, as shown, is a layer 2 device, it is understood that embodiments may be practiced on many different types of devices, e.g., a layer 2/3 device.

As shown, network device 500 includes processor 520, storage 530, switching fabric 540, and a number of communications ports, e.g., ports 551, 552, 553, 561, 562, 563, 571, 572, 573, and 574. An operating system 525 is shown as executing on processor 520. A configuration 535 is shown as being stored within storage 530.

With reference now to FIG. 6, a flowchart 600 of a method of monitoring traffic on a network device is depicted, in accordance with one embodiment. Although specific steps are disclosed in flowchart 600, such steps are exemplary. That is, embodiments of the present invention are well suited to performing various other (additional) steps or variations of the steps recited in flowchart 600. It is appreciated that the steps in flowchart 600 may be performed in an order different than presented, and that not all of the steps in flowchart 600 may be performed.

With reference now to step 610, network traffic is received by a port in the network device. In the depicted embodiment, the received traffic is identified as traffic to be monitored. In different embodiments, this determination can be performed in different ways. For example, traffic may be identified as of interest if it is intended for a specified recipient, originates from a specified sender, conforms to a particular protocol, is intended for a specified VLAN, or any combination of these elements, or any other identifier of interest.

For example, with reference to FIGS. 5A through 5C, port 551 receives network traffic 501, which is identified as traffic to be monitored.

With reference now to step 620, the network device uses port mirroring to create a duplicate copy of the network traffic to be monitored. In some embodiments, the original traffic is allowed to pass through the network device uninterrupted. In some embodiments, network devices, such as layer 2 devices, can be configured to “mirror” traffic; a duplicate copy of the traffic is created, while the original traffic passes through the network device unhindered. The duplicate copy of the traffic can be routed to another port in the network device.

In different embodiments, different approaches may be utilized to initiate and configure port mirroring. For example, in one embodiment, configuration 535 includes appropriate command line interface (CLI) commands to instruct OS 525 to configure port 551 (or a portion of switching fabric 540 associated with port 551) to implement port mirroring.

Continuing the above example, port 551 is configured to use port mirroring create a duplicate copy of traffic 501, duplicate 511. Network traffic 501 is routed by switching fabric 540 through network device 502 to the appropriate port, e.g., port 552, for delivery to its intended destination. Duplicate 511, meanwhile, is routed to another port, e.g., port 561.

With reference now to step 630, the duplicate copy of the network traffic is diverted to a monitoring VLAN. In some embodiments, several ports in the network device may be associated with a particular VLAN. As explained in greater detail, below, associating the various ports used for monitoring traffic into a VLAN offers some advantages, in terms of flexibility and extensibility of the monitoring system.

Continuing the preceding example, port 561 routes duplicate traffic 511 to VLAN 570, as indicated by arrow 521, where it is received by port 571.

With reference now to step 640, MAC learning is disabled for the input port of the monitoring VLAN. In some embodiments, MAC learning may be selectively disabled. For example, if only specific types of traffic are of interest to every monitoring port in the monitoring VLAN, it may be desirable to route most of the traffic to a single monitoring port, while flooding the traffic across the entire monitoring VLAN if it meets certain specified criteria. Such criteria might include a particular VLAN identifier, or traffic that corresponds to a specific protocol, or a particular sender, receiver, or combination of those. In another embodiment, other criteria may be utilized for determining whether to disable MAC learning. Also, by only selectively disabling MAC learning, the input port of the monitoring VLAN may be used for other non-monitoring functions.

In different embodiments, MAC learning may be disabled by different approaches. For example, in one embodiment, a specific memory location, e.g., in storage 530, needs be modified to specifically disable MAC learning, by modifying a register value associated with that port. In another embodiment, e.g., where OS 525 supports a command line interface (CLI) command to disable MAC learning, configuration 535 may include an appropriate CLI command to (selectively) disable MAC learning for the specified port.

Continuing the preceding example, MAC learning is disabled for port 571.

With reference now to step 645, in some embodiments, additional networking rules and/or techniques may be applied to the duplicated traffic. In some embodiments, some or all of the normal techniques and approaches available in manipulating network traffic flow can be utilized, in conjunction with this approach to network monitoring. For example, in one approach, an access control list (ACL) can be utilized to further subdivide the monitoring VLAN. Such an approach would be useful in order to, for example, route all voice over IP (VOIP) traffic to several of the ports in the monitoring VLAN, while not flooding all of the monitoring ports. Utilization of these network rules and techniques allows for finer grained control over traffic duplication and network monitoring.

With reference now to step 650, the receiving VLAN port forwards a copy of the duplicate traffic to all available ports in the monitoring VLAN. By disabling MAC learning, the input port for the monitoring VLAN is forced to use VLAN flooding, regardless of the specified destination for the duplicate traffic. In this way, an arbitrary number of copies of network traffic can be created, for use network monitoring. Simply by adding or removing ports in the VLAN, additional or fewer copies of traffic are automatically generated. In some embodiments, as previously noted, which ports are available in the monitoring VLAN may be modified, e.g., by application of additional network rules or techniques.

With reference to the preceding example, port 571 floods VLAN 570 with additional copies of duplicate 511, as indicated by arrow 531. For every other port in VLAN 570, a different copy is generated. By adding additional ports to VLAN 570, e.g., by adding port 574, an additional copy of the duplicate traffic would be automatically generated and forwarded to that port.

With reference now to step 660, a copy of the network traffic is output by each available port in the monitoring VLAN. By connecting monitoring devices to the various ports in the monitoring VLAN, copies of the network traffic of interest are forwarded to the monitoring devices. As such, the above described method allows for a single network device to generate an arbitrary number of copies of network traffic, and forward those copies to various arbitrary ports in a defined VLAN.

VII. Creating Copies of Network Traffic

With reference now to FIG. 7, a flowchart 700 of a method of creating copies of network traffic is depicted, in accordance with one embodiment. Although specific steps are disclosed in flowchart 700, such steps are exemplary. That is, embodiments of the present invention are well suited to performing various other (additional) steps or variations of the steps recited in flowchart 700. It is appreciated that the steps in flowchart 700 may be performed in an order different than presented, and that not all of the steps in flowchart 700 may be performed.

With reference to step 710, in some embodiments, network traffic of interest is identified. In different embodiments, different approaches may be utilized to flag specific network traffic as of interest. For example, in one embodiment, all network traffic may be so identified. In another embodiment, the originating source of the network traffic, or the intended destination, or the combination of those elements may be sufficient to identify network traffic as interesting. In another embodiment, the specific protocol being utilized by the network traffic, or the contents of that traffic may determine whether network traffic is of interest.

With reference now to step 720, the identified network traffic is duplicated. In some embodiments, a copy of the network traffic is created, e.g., using port mirroring. In another embodiment, other approaches may be utilized to create a copy of the network traffic, e.g., by using a physical tap to divert a portion of the signal.

With reference to step 725, the network traffic is passed along unhindered. In some embodiments, e.g., an embodiment where port mirroring is utilized, the original network traffic is allowed to pass through the network device, and is forwarded to its intended destination.

With reference to step 730, a copy of the network traffic is passed to a monitoring port. For example, the duplicate copy of the network traffic may be directed to a specific port in a layer 2 device, e.g., a monitoring port included in a VLAN.

With reference to step 735, any applicable networking rules are applied. For example, if certain networking rules are defined to apply to traffic passing through the monitoring port, e.g., an access control list, such networking rules may influence how the copy of the network traffic is handled, or the destination or destinations to which it is eventually routed.

With reference to step 740, the monitor port transmits the copy of the network traffic to each of a plurality of indicated ports. In different embodiments, different approaches are utilized in implementing this step. For example, in one embodiment, every indicated port is part of the same VLAN as the monitoring port. By disabling MAC learning for the monitoring port, the monitoring port can be compelled to flood the VLAN with copies of the network traffic.

VIII. Transparent VLAN Flooding

In different embodiments, approaches similar to that described above can be applied to different applications. Across different applications, the source of the network traffic to be flooded across a VLAN may differ: for example, in one embodiment, port mirroring may be used to duplicate network traffic, while in another embodiment, network traffic may be initially received into the monitoring VLAN, and one or more of the copies created through VLAN flooding is routed to its intended destination.

With reference now to FIG. 8, a flowchart 800 of a method of transparent VLAN flooding is depicted, in accordance with one embodiment. Although specific steps are disclosed in flowchart 800, such steps are exemplary. That is, embodiments of the present invention are well suited to performing various other (additional) steps or variations of the steps recited in flowchart 800. It is appreciated that the steps in flowchart 800 may be performed in an order different than presented, and that not all of the steps in flowchart 800 may be performed.

In step 810, network traffic is routed to a monitoring VLAN. As noted above, the source of network traffic may vary, across different embodiments. Several such embodiments are depicted below, with reference to FIGS. 9B, 10B, and 11B. Similarly, in different embodiments, the network traffic routed to the monitoring VLAN may be original, or a duplicate.

In step 820, the network traffic is received at the monitoring VLAN. In some embodiments, a particular port in a monitoring VLAN serves as an input port, and traffic routed to the monitoring VLAN is received into this input port.

In step 830, transparent VLAN flooding is enabled. Transparent VLAN flooding is used to create duplicate copies of received network traffic, and flood them across the monitoring VLAN. In some embodiments, transparent VLAN flooding is implemented by disabling MAC address learning for the input port for the monitoring VLAN.

With reference now to step 840, in some embodiments, additional networking techniques are applied. For example, in some embodiments, access control lists (ACLs) may be utilized, to restrict where duplicate copies of the received network traffic are routed, within the monitoring VLAN.

With reference now to step 850, copies of the received traffic are flooded to the available ports within the monitoring VLAN. For example, in an embodiment where transparent VLAN flooding is implemented through disabling MAC address learning, and an ACL is used to limit which ports receive copies of traffic, those ports in the monitoring VLAN which are not blocked by the ACL will receive a copy of the network traffic.

IX. Transparent VLAN Flooding and Port Mirroring

As discussed above, in different embodiments, different approaches are utilized for routing network traffic to a monitoring VLAN, for use with transparent VLAN flooding. One such approach involves port mirroring as a source for duplicate network traffic.

With reference now to FIG. 9A, the flow of network traffic through a network device 920 is depicted, in accordance with one embodiment. While network device 920 is shown as incorporating specific, enumerated features, it is understood that embodiments are well suited to applications involving additional, fewer, or different features or arrangements. Moreover, while network device 920, as shown, is a layer 2 device, it is understood that embodiments may be practiced on many different types of devices, e.g., a layer 2/3 device.

As shown, network device 920 includes processor 921, storage 930, switching fabric 540, and a number of communications ports, e.g., ports 951, 952, 953, 961, 962, 963, 971, 972, 973, and 974. An operating system 925 is shown as executing on processor 921. A configuration 935 is shown as being stored within storage 930.

With reference now to FIG. 9B, a flowchart 900 of a method of utilizing transparent VLAN flooding in conjunction with port mirroring is depicted, in accordance with one embodiment. Although specific steps are disclosed in flowchart 900, such steps are exemplary. That is, embodiments of the present invention are well suited to performing various other (additional) steps or variations of the steps recited in flowchart 900. It is appreciated that the steps in flowchart 900 may be performed in an order different than presented, and that not all of the steps in flowchart 900 may be performed.

In one embodiment, the method of flowchart 900 is intended to replace step 810 in flowchart 800, e.g., such that the method of flowchart 900 serves to generate and route network traffic to monitoring VLAN.

With reference to step 911, network traffic is received at an input port in a network device. In the depicted embodiment, the network traffic is intended for a destination indicated by information contained in the network traffic. For example, with reference to FIG. 9A, network traffic 981 is received into network device 920 at port 951.

With reference to step 913, a duplicate copy of the received traffic is created. In some embodiments, network traffic is created using a port mirroring technique, such as that described previously. The original traffic is then passed through the network device to its intended destination. For example, the received network traffic is routed through network device 920, as indicated by arrow 983.

With reference to step 915, in some embodiments, network rules or filters can be applied to the duplicate traffic. For example, the duplicate traffic can be subjected to an access control list, so as to determine where to route the duplicate copy.

With reference to step 917, the duplicate traffic is forwarded to the monitoring VLAN. For example, the duplicate traffic is passed from port 951 to monitoring VLAN input port 971, as indicated by arrow 985.

The method of flowchart 900, as shown, serves as a replacement for step 810 of flowchart 800. As such, the method of flowchart 900 is intended to flow into step 820, where the network traffic is received by the monitoring VLAN, and eventually copies of the traffic are flooded to all available ports within the monitoring VLAN. For example, copies of the network traffic are passed to the other ports within monitoring VLAN 970, as indicated by arrows 987.

X. Transparent VLAN Flooding and in-Line Taps

As discussed previously, one approach for creating a duplicate copy of network traffic involves inserting an in-line tap into a network line. Transparent VLAN flooding can be used in conjunction with such an in-line tap, in order to create numerous duplicate copies from a single copy, without further reducing signal strength in the network line.

With reference now to FIG. 10A, the flow of network traffic through a network device 1020 is depicted, in accordance with one embodiment. While network device 1020 is shown as incorporating specific, enumerated features, it is understood that embodiments are well suited to applications involving additional, fewer, or different features or arrangements. Moreover, while network device 1020, as shown, is a layer 2 device, it is understood that embodiments may be practiced on many different types of devices, e.g., a layer 2/3 device.

As shown, network device 1020 includes processor 1021, storage 1030, switching fabric 540, and a number of communications ports, e.g., ports 1051, 1052, 1053, 1061, 1062, 1063, 1071, 1072, 1073, and 1074. An operating system 1025 is shown as executing on processor 1021. A configuration 1035 is shown as being stored within storage 1030.

With reference now to FIG. 10B, a flowchart 1000 of a method of utilizing transparent VLAN flooding in conjunction with an in-line tap is depicted, in accordance with one embodiment. Although specific steps are disclosed in flowchart 1000, such steps are exemplary. That is, embodiments of the present invention are well suited to performing various other (additional) steps or variations of the steps recited in flowchart 1000. It is appreciated that the steps in flowchart 1000 may be performed in an order different than presented, and that not all of the steps in flowchart 1000 may be performed.

With reference now to step 1011, a duplicate copy of network traffic is created by an in-line tap. In different embodiments, different in-line taps may be utilized. For instance, in one embodiment, a fiber-optic cable carrying a network signal is tapped, such that a portion of the light contained therein is diverted.

For example, with reference to FIG. 10A, network traffic 1081 is intercepted by in-line tap 1083. A portion of the signal making up network traffic 1081 is diverted, and a somewhat diminished signal continues to the intended destination, as indicated by arrow 1082.

With reference now to step 1013, in some embodiments, network rules or filters can be applied to the duplicate traffic. For example, the duplicate traffic can be subjected to an access control list, so as to determine where to route the duplicate copy. These embodiments allow for selectively routing duplicate traffic, e.g., to route different types of duplicate traffic to different destinations.

With reference now to step 1015, the duplicate copy of the network traffic is forwarded to the monitoring VLAN. In some embodiments, the diverted signal is passed to a network device which implements transparent VLAN flooding, in order to generate multiple copies of the network traffic. For example, as indicated by arrow 1085, the diverted portion of the signal for traffic 1081 is passed to network device 1020, and specifically to monitoring VLAN input port 1071.

The method of flowchart 1000, as shown, serves as a replacement for step 810 of flowchart 800. As such, the method of flowchart 1000 is intended to flow into step 820, where the network traffic is received by the monitoring VLAN, and eventually copies of the traffic are flooded to all available ports within the monitoring VLAN. For example, copies of the network traffic are passed to the other ports within monitoring VLAN 1070, as indicated by arrows 1087.

XI. Transparent VLAN Flooding and Network Traffic Sources

Transparent VLAN flooding can also be used in scenarios where the original network traffic is passed to a monitoring VLAN, rather than diverting a copy of the traffic to the VLAN. For example, a traffic source, such as a computer, may direct traffic directly to the monitoring VLAN, in order to generate numerous copies of the traffic.

With reference now to FIG. 11A, the flow of network traffic through a network device 1120 is depicted, in accordance with one embodiment. While network device 1120 is shown as incorporating specific, enumerated features, it is understood that embodiments are well suited to applications involving additional, fewer, or different features or arrangements. Moreover, while network device 1120, as shown, is a layer 2 device, it is understood that embodiments may be practiced on many different types of devices, e.g., a layer 2/3 device.

As shown, network device 1120 includes processor 1121, storage 1130, switching fabric 540, and a number of communications ports, e.g., ports 1151, 1152, 1153, 1161, 1162, 1163, 1171, 1172, 1173, and 1174. An operating system 1125 is shown as executing on processor 1121. A configuration 1135 is shown as being stored within storage 1130.

With reference now to FIG. 11B, a flowchart 1100 of a method of utilizing transparent VLAN flooding in conjunction with a network traffic source is depicted, in accordance with one embodiment. Although specific steps are disclosed in flowchart 1100, such steps are exemplary. That is, embodiments of the present invention are well suited to performing various other (additional) steps or variations of the steps recited in flowchart 1100. It is appreciated that the steps in flowchart 1100 may be performed in an order different than presented, and that not all of the steps in flowchart 1100 may be performed.

With reference to step 1111, a network traffic source generates network traffic. In different embodiments, different types of network traffic sources may generate different types of network traffic.

With reference to step 1113, in some embodiments, network rules or filters can be applied to the traffic. For example, the traffic can be subjected to an access control list, so as to determine where to route the duplicate copy. Such embodiments allow traffic to be further manipulated, prior to passing it to the monitoring VLAN. For example, different types of traffic may be routed to different input ports, or different VLANs.

With reference now to step 1115, the network traffic is forwarded to a monitoring VLAN. For example, with reference to FIG. 11A, traffic source device 1180 generates network traffic 1181, and forwards it to network device 1120, specifically to monitoring VLAN input port 1171.

The method of flowchart 1100, as shown, serves as a replacement for step 810 of flowchart 800. As such, the method of flowchart 1100 is intended to flow into step 820, where the network traffic is received by the monitoring VLAN, and eventually copies of the traffic are flooded to all available ports within the monitoring VLAN. For example, copies of the network traffic are passed to the other ports within monitoring VLAN 1170, as indicated by arrows 1187.

Further, in some embodiments, such as the method described by flowchart 1100, a copy of the network traffic may be passed to any desired destination. For example, one port within the monitoring VLAN may be configured to route a copy of the network traffic outside the monitoring VLAN, e.g., to another VLAN, to a specified MAC address, to a specified IP address, or to any other recognized network destination. In this way, copies of the network traffic may be passed to several different VLANs, perhaps to be further duplicated by another monitoring VLAN.

Embodiments of the present invention are thus described. While the present invention has been described in particular embodiments, it should be appreciated that the present invention should not be construed as limited by such embodiments, but rather construed according to the following claims. 

What is claimed is:
 1. A method comprising: determining, based on contents of a packet received at a network device, that the received packet is to be sent to one or more monitoring devices, wherein the network device includes a virtual local area network (VLAN), the VLAN including a receiving port and a plurality of I/O ports, the receiving port and the plurality of I/O ports of the VLAN corresponding to ports of the network device, wherein Media Access Control (MAC) learning has been disabled for the receiving port, and wherein the packet is received at the receiving port of the VLAN; and upon receiving the packet at the receiving port of the VLAN, causing a copy of the packet to be sent to each of one or more of the plurality of I/O ports of the VLAN.
 2. The method of claim 1, wherein the packet is a duplicate packet received from an in-line tap.
 3. The method of claim 1, wherein the packet is received from a network traffic source.
 4. The method of claim 1, wherein determining that the packet is to be monitored includes determining that information included in the packet matches a defined parameter.
 5. The method of claim 1, wherein causing a copy of the packet to be sent to each of one or more of the plurality of I/O ports includes selecting one or more ports from the plurality of I/O ports, wherein the one or more selected ports are determined using an access control list.
 6. The method of claim 1, wherein each of the plurality of I/O ports is configured to connect to a corresponding monitoring device.
 7. The method of claim 1, wherein causing a copy of the packet to be sent to each of one or more of the plurality of I/O ports includes causing a copy of the packet to be sent to each of the plurality of I/O ports.
 8. A non-transitory computer-readable medium storing a plurality of instructions executable by one or more processors of a network device, the network device including a virtual local area network (VLAN), the VLAN including a receiving port and a plurality of I/O ports, the receiving port and the plurality of I/O ports of the VLAN corresponding to ports of the network device, wherein Media Access Control (MAC) learning has been disabled for the receiving port; and wherein the plurality of instructions comprise: instructions for causing at least one processor from the one or more processors to determine, based on contents of a packet received at the receiving port of the VLAN, that the packet is to be sent to one or more monitoring devices; and upon receiving the packet at the receiving port of the VLAN: instructions for causing at least one processor from the one or more processors to cause a copy of the packet to be sent to each of one or more of the plurality of I/O ports of the VLAN.
 9. The non-transitory computer-readable medium of claim 8, wherein the packet is a duplicate packet received from an in-line tap.
 10. The non-transitory computer-readable medium of claim 8, wherein the packet is received from a network traffic source.
 11. The non-transitory computer-readable medium of claim 8, wherein the instructions for causing at least one processor from the one or more processors to cause a copy of the packet to be sent to each of one or more of the plurality of I/O ports includes instructions for causing at least one processor from the one or more processors to select one or more ports from the plurality of I/O ports, wherein the one or more selected ports are determined using an access control list.
 12. The non-transitory computer-readable medium of claim 8, wherein each of the plurality of I/O ports is configured to connect to a monitoring device.
 13. The non-transitory computer-readable medium of claim 8, wherein the instructions for causing at least one processor from the one or more processors to cause a copy of the packet to be sent to one or more of the plurality of I/O ports includes instructions for causing at least one processor from the one or more processors to send a copy to each of the plurality of I/O ports.
 14. A network device, comprising: a plurality of ports, comprising a first port configured as a receiving port for a VLAN configured for the network device, the plurality of ports further comprising a set of ports configured as I/O ports of the VLAN, wherein Media Access Control (MAC) learning has been disabled for the receiving port; wherein the network device is configured to: determine, based on contents of a packet received at the receiving port of the VLAN, that the packet is to be sent to one or more monitoring devices; and upon receiving the packet at the receiving port of the VLAN, cause a copy of the packet to be sent to each of one or more of the I/O ports of the VLAN.
 15. The network device of claim 14, wherein the packet is a duplicate packet received from an in-line tap.
 16. The network device of claim 14, wherein the packet is received from a network traffic source.
 17. The network device of claim 14, wherein the network device is configured to determine that the packet is to be sent to one or more monitoring devices by determining that information included in the packet matches a defined parameter.
 18. The network device of claim 14, wherein the network device is further configured to cause a copy of the packet to be sent to each of one or more of the plurality of I/O ports includes selecting one or more ports from the plurality of I/O ports, wherein the one or more I/O ports are determined using an access control list.
 19. The network device of claim 14, wherein each of the plurality of I/O ports is configured to connect to a corresponding monitoring device.
 20. The network device of claim 14, wherein the network device is configured to cause a copy of the packet to be sent to each of the plurality of I/O ports. 